package cn.class2.demo8.ysz

/**
  * Created by lzd on 2018/11/28.
  */
class Demo(a: Int) {
  def add(b: Int): Int = {
    a + b
  }
}

object Demo{
  def main(args: Array[String]): Unit = {
//    import MyPreDef._
//
//    println(1.add(2))

  }
}
